# name : plotly add_segments
# key : add_segments@plotly
# contributor : Shuguang Sun
# --
add_segments(x = ${1:~ x}, y = ${2:~ y}, xend = ${1:~ xend}, y = ${2:~ yend},name = ${3:"names"}, data = ${4:dt})